package ycl.common.models.req.maps.res;

import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import ycl.common.models.req.maps.res.ad.AdInfo;
import ycl.common.models.req.maps.res.ad.AddressComponents;

/**
 * 地址解析返回值
 *
 * @author YCL
 * @date 2021-10-05 17:42:46
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("地址解析返回值")
public class AddressResolveRes extends BaseGpsParentRes {

	@Schema(description = "名称")
	private String title;

	@Schema(description = "行政区划信息")
	private AdInfo adInfo;

	@Schema(description = "地址成分")
	private AddressComponents addressComponents;

	@Schema(description = "可信度, 1(不可信) - 10(可信)")
	private Integer reliability;

	@Schema(description = "解析精度级别, 1-11, >=9即可采用")
	private Integer level;
}
